#coding=utf-8
# from handle.login_handle import LoginHandle
import time
from page.login_page import *
from base.base import Test_Api

#
# def jiakao1(self):
#     # 点击驾考宝典
#     print("gggggggggggggggggggggg",jiakao)
#     click_element(jiakao)
class LoginBusiness:
    def __init__(self):
        self.air = Test_Api()
    def jiakao(self):
        # 点击驾考宝典
        # self.air.click(jiakao,doc='点击驾考宝典')
        # time.sleep(10)
        # # # 点击报名菜单
        # self.air.click(baoming,doc='点击报名菜单')
        # # # 点击报名页输入框
        # # sousuokuang.click()
        # self.air.click(sousuokuang,doc='点击报名页输入框')
        # # # 输入万丰驾校
        # # sousuokuang.set_text("万丰")
        # self.air.text(sousuokuang,text="万丰",doc='输入万丰驾校')
        #
        # # #点击搜索按钮
        # # sousuo_anniu.click()
        # self.air.click(sousuo_anniu,doc='点击搜索按钮')
        #
        touch(Template(r"D:\唐门优测-线下班\课件\代码\airtest-automation1\png_data\tpl1706013830079.png"))
        # if exists(Template(r"D:\唐门优测-线下班\课件\代码\airtest-automation1\png_data\tpl1706013830079.png", record_pos=(0.119, 0.245), resolution=(1080, 2400))) == "None":

